package com.oa.beans;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.Date;

/**
 * @author 尹文婷
 * @version v1.0
 * @date 2025/3/9 16:26
 * @Description 用户表
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class User {
    private Long id;//用户ID
    private String username;//用户名
    private String password;//密码
    private String account;//用户账号
    private String phone;//手机号
    private String email;//邮箱
    private Integer status;//状态: 0-正常,1-冻结,2-删除
    private Integer departmentId;//部门ID
    private Integer roleId;//角色ID
    private Date createTime;//创建时间
    private Date updateTime;//修改时间

}
